#ifndef DIRSCANNER_H
#define DIRSCANNER_H

#include <vector>
#include <string>
#include "Configuration.h"

using std::vector;
using std::string;

class DirScanner {
public:
    DirScanner();
    ~DirScanner();

public:
    vector<string>& getFiles(); //获取文件�?�?
    void traverse(string dir);  //遍历所有文章目�?

private:
    vector<string> _files;  //存放文件的路�?
};

#endif // DIRSCANNER_H